package com.jyw.business.ast.domain.vo.web;

import com.jyw.common.annotation.Conversion;
import com.jyw.common.constant.SysDictTypeConstant;
import com.jyw.common.enums.ConversionType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.FieldNameConstants;

@Data
@ApiModel("资产打印返回实体")
@FieldNameConstants
public class AstPrintVo {

    @ApiModelProperty("资产打印小程序码")
    private String qrCode;

    @ApiModelProperty("资产id")
    private Long id;

    @ApiModelProperty("资产名称")
    private String name;

    @ApiModelProperty("资产类型")
    @Conversion(value = ConversionType.DICT, dictType = SysDictTypeConstant.AST_ASSET_TYPE)
    private String assetsType;

    @ApiModelProperty("资产类型标签")
    private String assetsTypeToName;

    @ApiModelProperty("资产型号")
    private String model;

    @ApiModelProperty("使用科室")
    @Conversion(value = ConversionType.DEPT, name = AstInfoDetailVo.Fields.useDeptName)
    private Long useDept;

    @ApiModelProperty("使用科室名称")
    private String useDeptName;

    @ApiModelProperty("所在位置")
    private String place;
}
